package com.zhan.ielts.domain;

import com.zhan.frame.core.dao.domain.Identifiable;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

public class WordPreRootSufix implements Identifiable {
    private String id;
    private String partWord;
    private String type;
    private Integer dictionaryId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getDictionaryId() {
        return dictionaryId;
    }

    public void setDictionaryId(Integer dictionaryId) {
        this.dictionaryId = dictionaryId;
    }

    private String wordClass;
    private String wordTranslation;
    private String explaination;
    private Integer seqNo;

    private String rootAffixLetter;
    private String rootAffixTranslation;
    private Date createTime;
    private Date updateTime;

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getPartWord() {
        return partWord;
    }

    public void setPartWord(String partWord) {
        this.partWord = partWord;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getWordClass() {
        return wordClass;
    }

    public void setWordClass(String wordClass) {
        this.wordClass = wordClass;
    }

    public String getWordTranslation() {
        return wordTranslation;
    }

    public void setWordTranslation(String wordTranslation) {
        this.wordTranslation = wordTranslation;
    }

    public String getExplaination() {
        return explaination;
    }

    public void setExplaination(String explaination) {
        this.explaination = explaination;
    }

    public Integer getSeqNo() {
        return seqNo;
    }

    public void setSeqNo(Integer seqNo) {
        this.seqNo = seqNo;
    }

    public String getRootAffixLetter() {
        return rootAffixLetter;
    }

    public void setRootAffixLetter(String rootAffixLetter) {
        this.rootAffixLetter = rootAffixLetter;
    }

    public String getRootAffixTranslation() {
        return rootAffixTranslation;
    }

    public void setRootAffixTranslation(String rootAffixTranslation) {
        this.rootAffixTranslation = rootAffixTranslation;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
    }
}
